#!/bin/sh

if [ -x /usr/local/bin/init.sh ]; then
	. /usr/local/bin/init.sh
	rm -f /usr/local/bin/init.sh
fi

su - $_INIT_USER -c '/entrypoint.sh /etc/docker/registry/config.yml'
